<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <script>

        let arr = ["张三", "李四", "罗翔", "罗永浩","郑强"];

        let [a,b,c,d] = arr;
        console.log(a,b,c,d)

        // let [e,f,g] = arr;
        // let [e,f,,g] = arr;
        // let [e,f,g,k,m] = arr;
        let [e,f,g,k,m="zq"] = arr;


        console.log(e, f,g,k,m)



    </script>
</body>

</html>